package tsg.laf.eventhorizon;

import tsg.component.Component;
import tsg.graphic.Graphics;
import tsg.laf.BasicPanelUI;
import tsg.util.Dimension;
import tsg.util.Point;

public abstract class EventHorizonPanelUI extends BasicPanelUI
{
	public void paint(Graphics g, Component parent) 
	{
		Point 		position 	= parent.getPosition();
		Dimension 	size 		= parent.getSize();
		
		g.setColor(parent.getBackgroundColor());
		
		g.fillRectangle(position.getX(), position.getY(), size.getWidth(), size.getHeight());
	}
}








